<ul class="layui-nav layui-nav-tree" lay-filter="setting">
<#if user?? && (user.roleAuthMap["A08_A01"]?? || user.usertype == "0") >
	<li class="layui-nav-item layui-nav-itemed">
		<a class="layui-nav-title" href="javascript:;">会话信息</a>
		<dl class="layui-nav-child">
			<#if user?? && (user.roleAuthMap["A08_A01_A01"]?? || user.usertype == "0") >
				<dd <#if subtype?? && subtype == 'history'>class="layui-this"</#if>>
					<a href="/service/history/index.html">历史会话</a>
				</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A01_A02"]?? || user.usertype == "0") >
				<dd <#if subtype?? && subtype == 'current'>class="layui-this"</#if>>
					<a href="/service/current/index.html">当前会话</a>
				</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A01_A03"]?? || user.usertype == "0") >
				<dd <#if subtype?? && subtype == 'quene'>class="layui-this"</#if>>
					<a href="/service/quene/index.html">排队队列</a>
				</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A01_A04"]?? || user.usertype == "0") >
				<dd <#if subtype?? && subtype == 'leavemsg'>class="layui-this"</#if>>
					<a href="/service/leavemsg/index.html">访客留言</a>
				</dd>
			</#if>
		</dl>
		
	</li>
</#if>
<#if user?? && (user.roleAuthMap["A08_A02"]?? || user.usertype == "0") >
	<li class="layui-nav-item layui-nav-itemed">
		<a class="layui-nav-title" href="javascript:;">统计功能</a>
		<dl class="layui-nav-child">
			<#if user?? && (user.roleAuthMap["A08_A02_A01"]?? || user.usertype == "0") >
				<dd <#if subtype?? && subtype == 'statcoment'>class="layui-this"</#if>>
					<a href="/service/stats/coment.html">满意度统计</a>
				</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A02_A02"]?? || user.usertype == "0") >
				<dd <#if subtype?? && subtype == 'statagent'>class="layui-this"</#if>>
					<a href="/service/stats/agent.html">客服坐席</a>
				</dd>
			</#if>
		</dl>
	</li>
</#if>
<#if user?? && (user.roleAuthMap["A08_A03"]?? || user.usertype == "0") >
	<li class="layui-nav-item layui-nav-itemed">
		<a class="layui-nav-title" href="javascript:;">服务小结</a>
		<dl class="layui-nav-child">
			<#if user?? && (user.roleAuthMap["A08_A03_A01"]?? || user.usertype == "0") >
				<dd <#if subtype?? && subtype == 'agentsummary'>class="layui-this"</#if>>
					<a href="/apps/agent/summary/index.html">多媒体客服</a>
				</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A03_A02"]?? || user.usertype == "0") >
				<dd <#if subtype?? && subtype == 'processed'>class="layui-this"</#if>>
					<a href="/apps/agent/processed/index.html">已处理多媒体客服</a>
				</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A03_A03"]?? || user.usertype == "0") >
				<#if models?? && models["callcenter"]?? && models["callcenter"] == true>
				<dd <#if subtype?? && subtype == 'summary'>class="layui-this"</#if>>
					<a href="/apps/callcenter/summary/index.html">呼叫中心</a>
				</dd>
				</#if>
			
			</#if>
			<#if models?? && models["callcenter"]?? && models["callcenter"] == true>
				<#if user?? && (user.roleAuthMap["A08_A03_A04"]?? || user.usertype == "0") >
				<dd <#if subtype?? && subtype == 'callcenterprocessed'>class="layui-this"</#if>>
					<a href="/apps/callcenter/processed/index.html">已处理呼叫中心</a>
				</dd>
				</#if>
			</#if>
			
		</dl>
	</li>
</#if>
<#if user?? && (user.roleAuthMap["A08_A01_A05"]?? || user.usertype == "0") >
	<li class="layui-nav-item layui-nav-itemed">
		<a class="layui-nav-title" href="javascript:;">满意度评价</a>
		<dl class="layui-nav-child">
				<dd <#if subtype?? && subtype == 'comment'>class="layui-this"</#if>>
					<a href="/service/comment/index.html">在线客服</a>
				</dd>
			<#if models?? && models["callcenter"]?? && models["callcenter"] == true>
				<dd <#if subtype?? && subtype == 'callentercomment'>class="layui-this"</#if>>
					<a href="/apps/callcenter/comment/index.html">语音通话</a>
				</dd>
			</#if>
		</dl>
	</li>
</#if>
<#if user?? && (user.roleAuthMap["A08_A04"]?? || user.usertype == "0") >
	<li class="layui-nav-item layui-nav-itemed">
		<a class="layui-nav-title" href="javascript:;">坐席信息</a>
		<dl class="layui-nav-child">
			<#if user?? && (user.roleAuthMap["A08_A04_A01"]?? || user.usertype == "0") >
			<dd <#if subtype?? && subtype == 'onlineagent'>class="layui-this"</#if>>
				
				<a href="/service/agent/index.html">在线坐席</a>
			</dd>
			</#if>
			<#if user?? && (user.roleAuthMap["A08_A04_A02"]?? || user.usertype == "0") >
			<dd <#if subtype?? && subtype == 'userlist'>class="layui-this"</#if>>
				<a href="/service/user/index.html">全部坐席</a>
			</dd>
			</#if>
		</dl>
	</li>
</#if>
</ul>